//
//  ViewController.m
//  GTSliderDemo
//
//  Created by yate1996 on 15/7/21.
//  Copyright (c) 2015年 yate1996. All rights reserved.
//

#import "ViewController.h"
#import "GTHomeView.h"


@interface ViewController ()
{
    GTHomeView *HomeView;
}

@end

@implementation ViewController

-(void)viewDidLoad{
    [super viewDidLoad];
    self.edgesForExtendedLayout =UIRectEdgeNone ;
    int vWidth = (int)([UIScreen mainScreen].bounds.size.width);
    int vHeight = (int)([UIScreen mainScreen].bounds.size.height);
    HomeView = [[GTHomeView alloc]initWithFrame:CGRectMake(0, 0, vWidth, vHeight - 64 )];
    self.view = HomeView;
    [HomeView refresh];
}


@end
